import {createSlice} from "@reduxjs/toolkit";
import useSetStorage from "@/hooks/useSetStorage";

export const keywordExplosionSlice = createSlice({
    name: "login",
    initialState: () => {
        return {
            params: {
                
            },
            videoData: {},
        };

    },
    reducers: {
        set_params(state,action){
            state.params = action.payload
        },
        set_videoData(state,action){
            state.videoData = action.payload
        }
    }
});

export const {
    set_params,
    set_videoData,
} = keywordExplosionSlice.actions;